package top.leix.springdemo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.leix.springdemo.pojo.ApplyRepairTeacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 16435
* @description 针对表【apply_repair_teacher(报修表)】的数据库操作Mapper
* @createDate 2024-04-21 22:23:42
* @Entity top.leix.springdemo.pojo.ApplyRepairTeacher
*/
@Mapper
public interface ApplyRepairTeacherMapper extends BaseMapper<ApplyRepairTeacher> {

    List<ApplyRepairTeacher> selectRepairByMonitor(@Param("userName") String userName);

    Integer updateStatus(@Param("applyID")Integer applyID, @Param("status")String status);

    Integer addRepairNote(@Param("applyID")Integer applyID,@Param("note") String note);
}




